package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingPlanXZ;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {

    //    护理计划分页查询
    PageResponse<NursingPlanVo> search(String name, Integer pageNum, Integer pageSize, Integer status);

//    添加护理计划
    void add(NursingPlanXZ nursingPlanXZ);

//    根据id查询
    NursingPlan getById(Integer id);

    //    查询所有护理计划
    List<NursingPlan> getPlan();

//    根据id删除护理计划
    void delete(Integer id);

//    修改护理计划
    void update(NursingPlanXZ nursingPlanXZ);

//    启用禁用
    int updateStatusById(Integer id, Integer status);
}
